package com.ccrfid.rmc6.lbservice3.pojo.evt;

import java.util.HashSet;
import java.util.Set;

public class LocationPersonnelChange {
    private Long locationId;
    private Set<Long> personnelIdSet;

    public LocationPersonnelChange() {
    }

    public LocationPersonnelChange(Long locationId) {
        this.locationId = locationId;
        this.personnelIdSet = new HashSet<>();
    }

    public LocationPersonnelChange(Long locationId, Set<Long> personnelIdSet) {
        this.locationId = locationId;
        this.personnelIdSet = personnelIdSet;
    }

    public Long getLocationId() {
        return locationId;
    }

    public void setLocationId(Long locationId) {
        this.locationId = locationId;
    }

    public Set<Long> getPersonnelIdSet() {
        return personnelIdSet;
    }

    public void setPersonnelIdSet(Set<Long> personnelIdSet) {
        this.personnelIdSet = personnelIdSet;
    }

    @Override
    public String toString() {
        return "LocationPersonnelChange{" +
                "locationId=" + locationId +
                ", personnelIdSet=" + personnelIdSet +
                '}';
    }
}
